package com.ssy.lingxi.sms.api.entity;

import javax.validation.constraints.NotEmpty;

/**
 * 短信发送响应类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/30
 */
public class SmsSendMsg {
    /**
     * 手机号码
     */
    @NotEmpty(message = "手机号码不能为空")
    private String phone;
    /**
     * 是否发送成功
     */
    @NotEmpty(message = "是否发送成功不能为空")
    private Boolean status;
    /**
     * 错误代码
     */
    private String code;
    /**
     * 提示信息
     */
    private String msg;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
